﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TravelAgencyDAL.DAL
{
    public class ReservationOperations
    {
        private static DBaseDataContext cont;

        static ReservationOperations()
        {
            cont = new DBaseDataContext();
        }

        public static List<Settlement> GetAllSettlements()
        {
            var settlements = from s in cont.Settlements
                              select s; 

            return settlements.ToList();
        }
    }
}
